 {// 加载头部公共文件 }
<include file="Public:header" />
<!-- include file="Public:tree" / -->
<div style="boder:1px solid #ccc;margin-left:10px;margin:10px 10px 0px 10px;">
    <div style="border:1px solid #ccc;height:40px;padding:0 0 0 20px;line-height:40px;">
           编辑角色
    </div>
    <div style="border:1px solid #ccc;height:auto;padding:10px 10px 10px 10px;margin-top:5px;">
        <form action="{:U('Group/executeEdit')}" method="post">
      
                    <table style="width:100%">
                           <tr>
                               <th>编号</th>
                               <th>名称</th>
                               <th>创建人</th>
                               <th width="140">创建时间</th>
                               <th>角色简介</td>
                               <th width="222">操作</th>
                           </tr>
                           <foreach name="list" item="val">
                           <tr>
                               <td><input type="checkbox" name="id[]" value="{$val.id}" />&nbsp;&nbsp;{$val.id}</td>
                               <td>{$val.group_name}</td>
                               <td>{$val.create_user}</td>
                               <td>{$val.create_time}</td>
                               <td>{$val.group_describe}</td>
                               <td> 
                                   &nbsp;&nbsp;<a href="{:U('Group/editAdmin/Gid/'.$val['id'])}">管理管理员</a>&nbsp;&nbsp;
                                   <a href="{:U('Group/editFunction/Gid/'.$val['id'])}">管理功能</a>&nbsp;&nbsp;
                                   <a href="{:U('Group/executeEdit/Gid/'.$val['id'])}">编辑角色</a>&nbsp;&nbsp;
                               </td>
                           </tr>
                           </foreach>
                           <tr>
                               <td colspan="6">{$page}</td>
                           </tr>
                    </table>
     </div>
     <div style="border:1px solid #ccc;margin:5px 0px 5px 0px;padding:5px 0px 5px 30px;"">
            <input type="submit" name="edit" value="编辑" />&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="reset" value="重置" />
     </div>
    </form>
 </div>
  </body>
</html>
